/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package di.persistence.dao;

import di.persistence.entities.User;
import di.persistence.object.*;
import di.persistence.entities.UserType;
import java.util.List;
import org.springframework.dao.DataAccessException;

/**
 *
 * @author Kilian Ito
 */
public interface UserTypeDao {
    void save(UserType userType) throws DataAccessException ;
    void update(UserType userType) throws DataAccessException ;
    void delete(UserType userType) throws DataAccessException ;
    UserType getUserByLabel(String label) throws DataAccessException;
    public List<UserType> getChildren(UserType userType) throws DataAccessException;
}
